package cn.jbit.service;

import cn.jbit.entity.Employee;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 福清
 * @Description:
 * @date 2020/9/25 15:01
 */

public interface EmployeeService {
    //List<Employee> getEmployeeList();

       String getEmployeeList();
    Boolean addEmployee(Employee employee);

    Boolean checkEmpName(String name);

    Employee getEmployeeById(Integer empId);

    /**
     * 修改员工
     * @param employee
     */
    void updateEmployee(Employee employee);
    /*根据ID删除单个*/
    void delEmployeeById(Integer empId);
    /*根据ID集合删除多个*/
    void delEmployeeByIds(List<Integer> empId);
}
